
{template header.html}
  <!--Header-->
  <!--内页banner 面包屑 开始-->
  <div class="ny_banner" style="background-image: url({dr_get_file($cpybanner)});">
    <div class="baloea">
      <div class="mauto">
        <div class="baloea_title">{usu_fanyi($cat['name'],$language)}</div>
        <div class="lboae">
          <i class="iconfont">&#xe688;</i>
          <ul>
            <li>
              <i class="iconfont">&#xe688;</i>
              <a href="/">Home</a>
            </li>
            {if $dirname}
            <li>></li>
            <li>
              <a href="{$dirurl}">{usu_fanyi($dirname, $language)}</a>
            </li>
            {/if}
            <li>></li>
            <li>{usu_fanyi($cat['name'],$language)}</li>
          </ul>
        </div>
      </div>
    </div>
  </div>
  <!--内页banner 面包屑 结束-->
  <!--Main-->
  <main>
    <div class="main_con">
      <div class="mauto">
        <!--二级菜单-->
        <div class="main-nav-p">
          <ul>
            {category module=share pid=2 return=t}
            <li {if $catid == $t.id}class="cur"{/if}>
              <a href="{$t.url}">
                <i>{usu_fanyi($t.name, $language)}</i>
              </a>
            </li>
            {/category}
          </ul>
        </div>
        <div class="main-nav-m">
          <div class="title">
            <strong>{usu_fanyi('Products', $language)}</strong>
            <i>
            </i>
          </div>
          <ul>
            {category module=share pid=2 return=t}
            <li>
              <a href="{$t.url}">{usu_fanyi($t.name, $language)}</a>
            </li>
            {/category}
          </ul>
        </div>
        <!--二级菜单-->
        <!--产品列表-->
        <div class="products_list ">
          <ul>
            {module module=news catid=$catid page=1}
            <li>
              <a href="{$t.url}">
                <div class="img-wrap">
                  <img src="{dr_get_file($t['thumb'])}" data-src="{dr_get_file($t['thumb'])}" class=" lazyloaded" alt="" ></div>
                <div class="text">
                  <h5>{usu_fanyi($t.title, $language)}</h5></div>
              </a>
            </li>
            {/module}
          </ul>
          <!--分页-->
          <div class="clear"></div>
          <div class="pagination-bar">
            <ul>
              {if $page!=1}
              <li ><a href="{str_replace('{page}', min($page-1, 1), $pagerule)}"><<</a></li>
              <li><a href="{str_replace('{page}', min($page-1, $nums), $pagerule)}">{$page-1}</a></li>
              {/if}
              <li class="active"><span>{$page}</span></li>
              {if $nums > 1 & $nums > $page}
              <li><a href="{str_replace('{page}', min($page+1, $nums), $pagerule)}">{$page+1}</a></li>
                  {if $nums > 2 & $nums > $page+1}
                  <li><a href="{str_replace('{page}', min($page+2, $nums), $pagerule)}">{$page+2}</a></li>
                  {/if}
              {/if}
              {if $page!=$nums && $nums!=1}
              <li ><a href="{str_replace('{page}', min($nums, $nums), $pagerule)}">>></a></li>
              {/if}
            </ul>
          </div>
          <!--分页--></div>
        <!--产品列表-->
        </div>
        {template nav_contact.html}
    </div>
  </main>
  <!--Footer-->
 {template footer.html}